﻿using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 质量检查明细参数模型
    /// </summary>
    [DataContract]
    public struct QualityInspectionDetailParam
    {
        /// <summary>
        /// 产品Id
        /// </summary>
        [DataMember]
        public Guid productId;

        /// <summary>
        /// 生产数量
        /// </summary>
        [DataMember]
        public decimal productionQuantity;

        /// <summary>
        /// 合格数量
        /// </summary>
        [DataMember]
        public decimal qualifiedQuantity;

        /// <summary>
        /// 样品数量
        /// </summary>
        [DataMember]
        public decimal sampleQuantity;

        /// <summary>
        /// 人员工时
        /// </summary>
        [DataMember]
        public decimal? manhour;

        /// <summary>
        /// 设备台时
        /// </summary>
        [DataMember]
        public decimal? machinehour;

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int sort;

        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string description;
    }
}
